package com.example.demo.model;

import lombok.Data;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User:xieChao
 * Date:2022/12/22 12:07
 */
@Data
public class ArticleInfo {
    private int id;
    private String title;
    private String content;
    private String createtime;
    private String updatetime;
    private int uid;
    private int rcount ;
    private int state;
    // 1. 一定要定义一个外键对象
    private UserInfo userInfo;

}
